package com.liankuan.console.service;

import com.liankuan.console.dto.UserExchange;

import java.util.List;

public interface UserExchangeService {
    List<Integer> findAllExchanges(Integer userId);

    void deleteByUserIdAndExchangeId(int userId, int exchangeId);

    void save(UserExchange userExchange);

    void deleteByExchangeId(int exchangeId);

    void deleteByUserId(int userId);
}
